<?php

namespace App\CustHub\Request;

use Mine\MineFormRequest;

class RechargeRequest extends MineFormRequest
{
    public function createOrderRules(): array
    {
        return [
            'money' => 'required|numeric|min:0|not_in:0',
        ];
    }

    public function payRules()
    {
        return [
            'order_no' => 'required',
            'pay_way' => 'required|in:1,2',
        ];
    }

    public function checkPayStatusRules()
    {
        return [
            'order_no' => 'required',
        ];
    }
}